{% load blog_tags %}
<article id="post-{{ article.pk }}"
         class="post-3815 post type-post status-publish format-standard hentry category-python tag-python">
    <header class="entry-header">

        <h1 class="entry-title">
            <a href="{{ article.get_absolute_url }}"
               rel="bookmark">{{ article.title }}</a>
        </h1>
        <div class="comments-link">
            <a href="{{ article.get_absolute_url }}"
               class="ds-thread-count" data-thread-key="3815" rel="nofollow"><span class="leave-reply">发表评论</span></a>
            <div style="float:right">
                {{ article.views }} views
            </div>
        </div><!-- .comments-link -->
        <br/>
        {% if not isindex %}
            {% load_breadcrumb article %}
        {% endif %}
    </header><!-- .entry-header -->

    <div class="entry-content">
        {% if  isindex %}
            {{ article.summary|custom_markdown }}
            <p class='read-more'><a
                    href=' {{ article.get_absolute_url }}'>Read more</a></p>
        {% else %}
            {{ article.body|custom_markdown }}
        {% endif %}

    </div><!-- .entry-content -->
    {% load_article_metas article %}
</article><!-- #post -->